package org.dromara.system.mapper;

import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.SysUserPost;

import java.util.List;

/**
 * 用户与岗位关联表 数据层
 *
 * @author Lion Li
 */
public interface SysUserPostMapper extends BaseMapperPlus<SysUserPost, SysUserPost> {

    /**
     * 根据用户ID查询岗位名称集合
     * @param userId
     * @return
     */
    List<String> getPostNamesByUserId(Long userId);

}
